# 基于ubuntu_base镜像
FROM ubuntu_base

# 切换到root用户
USER root

# python3 python3-venv ninja-build bzip2 pkg-config libglib2.0-dev libfdt-dev git flex bison为必须组件
RUN apt-get update \
 && apt-get install -y --no-install-recommends python3 python3-venv \
    ninja-build bzip2 pkg-config libglib2.0-dev libfdt-dev git flex bison \
 && apt-get clean \
 && apt-get autoclean

# 切换为xflm
USER xflm
